package cc.customer.phoneTask.services;

import cc.customer.common.domain.ResponseBo;
import cc.customer.common.service.IService;
import cc.customer.phoneTask.domain.CPhoneTask;

import java.util.List;

public interface CPhoneServices extends IService<CPhoneTask> {

    /**批量导入数据**/
    ResponseBo batchImpoertData(List<CPhoneTask> list) throws Exception;
    /**根据电话号码查询数据**/
    CPhoneTask findCphoneTaskByMobile(String mobile);
    /**获取所有的电话计划**/
    List<CPhoneTask> getAllCphoneTasks(CPhoneTask cPhoneTask);
    /**获取所有的电话计划**/
    List<CPhoneTask> getCphoneList(CPhoneTask cPhoneTask);
    /**获取统计数据**/
    ResponseBo selectStartis(String uuid);
    /**分配批次的客户**/
    ResponseBo FenCphoneTasks(CPhoneTask cPhoneTask) throws Exception;
    /**查询设置的数据统计**/
    ResponseBo selectSetInfo(String uuid);
    /**移交客户**/
    ResponseBo updateTaskRecer(CPhoneTask cPhoneTask) throws Exception;
    /**删除批次的电话任务**/
    ResponseBo deleteTaskPhone(String uuid);

    /**批量更新批次信息**/
    ResponseBo updateTaskPhone(CPhoneTask cPhoneTask) throws Exception;

    /**更新录音文件得地址**/
    ResponseBo updateTaskPhoneRecord(CPhoneTask cPhoneTask);

}
